﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH178Model
{
    public class Product_Info
    {
        public Product_Info()
        { }
        #region Model
        private int _id;
        private string _name = "";
        private string _brand = "";
        private string _model = "";
        private int _number = 0;
        private decimal _originalprice = 0.00M;
        private decimal _activityprice = 0.00M;
        private string _img = "";
        private DateTime _createtime = DateTime.Now;
        private int _industryid = 0;
        private int _isrecommend = 0;
        private int _isonline = 0;
        private int _status = 0;
        private DateTime _endtime = DateTime.Now;
        private int _userid = 0;
        /// <summary>
        /// 产品信息表 编号
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 品牌
        /// </summary>
        public string Brand
        {
            set { _brand = value; }
            get { return _brand; }
        }
        /// <summary>
        /// 产品型号
        /// </summary>
        public string Model
        {
            set { _model = value; }
            get { return _model; }
        }
        /// <summary>
        /// 供货数量
        /// </summary>
        public int Number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 原价
        /// </summary>
        public decimal OriginalPrice
        {
            set { _originalprice = value; }
            get { return _originalprice; }
        }
        /// <summary>
        /// 优惠价
        /// </summary>
        public decimal ActivityPrice
        {
            set { _activityprice = value; }
            get { return _activityprice; }
        }
        /// <summary>
        /// 图片
        /// </summary>
        public string Img
        {
            set { _img = value; }
            get { return _img; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 行业编号
        /// </summary>
        public int IndustryId
        {
            set { _industryid = value; }
            get { return _industryid; }
        }
        /// <summary>
        /// 是否推荐 0不推荐 1推荐
        /// </summary>
        public int IsRecommend
        {
            set { _isrecommend = value; }
            get { return _isrecommend; }
        }
        /// <summary>
        /// 在线销售 0否 1是
        /// </summary>
        public int IsOnLine
        {
            set { _isonline = value; }
            get { return _isonline; }
        }
        /// <summary>
        /// 状态
        /// </summary>
        public int Status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 到期时间
        /// </summary>
        public DateTime EndTime
        {
            set { _endtime = value; }
            get { return _endtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        #endregion Model

    }
}
